package com.fsc.service;

import com.fsc.entity.domain.TotalScoreInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import com.fsc.entity.vo.TotalScoreInfoVO;

import java.util.List;

/**
* @author 86183
* @description 针对表【total_score_info(学生总成绩表)】的数据库操作Service
* @createDate 2024-06-02 13:15:22
*/

public interface TotalScoreInfoService extends IService<TotalScoreInfo> {

	List<TotalScoreInfoVO> getTotalScoreByExamId(int examsId);

	TotalScoreInfoVO getTotalScoreByStudentId(int examsId, Integer studentId);

	List<TotalScoreInfoVO> getTotalScoreByStuIds(int examId, List<Integer> stuIds);

	void importScore(List<TotalScoreInfoVO> totalScoreInfoVOList, Integer examsId);

	void updateById(TotalScoreInfoVO totalScoreInfoVO);

	void deleteByExamsId(Integer id);
}
